/*html {
    min-width: 1500px;
}*/

#sidebar {
    position: absolute;
    bottom: 31px; /* bottom height */
    top: 50px; /* global header height */
    overflow: hidden;
}

#sidebar > .slimScrollDiv {
    margin-top: 86px;
    overflow: initial !important;
    position: absolute !important;
    bottom: 0;
    top: 0;
}

#sidebar > .slimScrollDiv > .menu-scroll {
    height: 100% !important;
    overflow: hidden !important;
}

#sidebar > .slimScrollDiv #side-menu > li.user-panel {
    position: absolute;
    top: -86px;
}

.sidebar-collapsed #sidebar {
    overflow: inherit;
}

.sidebar-collapsed #sidebar > .slimScrollDiv {
    margin-top: 0;
}

.sidebar-collapsed #sidebar > .slimScrollDiv > .menu-scroll {
    margin-top: 0;
    overflow: inherit !important;
}

.main-body {
    position: relative;
    height: 100%;
}

.main-body > #wrapper {
    margin-top: -50px;
    height: 100%;
    padding-top: 50px;
    padding-bottom: 31px;
}

.main-body > #wrapper .contentFrame {
    position: absolute;
    bottom: 0;
    height: 100%;
    padding-top: 38px;
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-column-detail {
    max-width: 20em;
}

#checkedShop .tooltip .tooltip-inner {
    text-align: left;
    word-break: break-all;
}

/*#sidebar #side-menu li.active > .slimScrollDiv {*/
    /*float: none;*/
/*}*/

/* for dialogs in sub-iframes */
.stockrule-wizard .table-controller  {
    padding: 0;
}

.stockrule-wizard .table-controller > *:not(:last-child) {
    margin-right: 10px;
}

.stockrule-wizard .table-controller > label:not(:first-child) {
    margin-left: 15px;
}

.stockrule-wizard .overlap-mask {
    position: absolute;
    top: -16px;
    left: -15px;
    right: -15px;
    bottom: -15px;
}

.stockrule-wizard .overlap-mask .mask-background {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* 库存推送公式用，调整行距用 */
.cut {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space: nowrap; 
}

.p-xs {
    padding:5px!important;
 }
 
.m-b-xs{
    margin-bottom:5px!important;
}

.m-l-xs{
    margin-left:5px!important;
}

.p-l-xs{
    padding-left:5px!important;
}
/* 库存推送公式用，调整行距用 */

.td-right{
    text-align:right;
}

.vakata-context {
    display: none;
}